-
Notifications
You must be signed in to change notification settings - Fork 13.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrote gnd_pos_control and removed gnd_att_control #12239
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AmeliaEScott
changed the title
[WIP] Updated
[WIP] Updated gnd_pos_control and removed gnd_att_control
Jun 11, 2019
gnd_pos_control
and removed gnd_att_control
AmeliaEScott
changed the title
[WIP] Updated gnd_pos_control and removed gnd_att_control
WIP: Updated gnd_pos_control and removed gnd_att_control
Jun 11, 2019
AmeliaEScott
force-pushed
the
pr-rover-control
branch
5 times, most recently
from
June 14, 2019 11:29
851eb9a
to
ec56210
Compare
AmeliaEScott
changed the title
WIP: Updated gnd_pos_control and removed gnd_att_control
Updated gnd_pos_control and removed gnd_att_control
Jun 14, 2019
dagar
reviewed
Jun 15, 2019
dagar
reviewed
Jun 15, 2019
dagar
reviewed
Jun 15, 2019
AmeliaEScott
force-pushed
the
pr-rover-control
branch
from
June 19, 2019 15:05
ec56210
to
15d304d
Compare
dagar
reviewed
Jun 24, 2019
dagar
reviewed
Jun 24, 2019
dagar
reviewed
Jun 24, 2019
AmeliaEScott
force-pushed
the
pr-rover-control
branch
from
June 26, 2019 09:07
6939743
to
2ba0d56
Compare
dagar
reviewed
Jun 26, 2019
dagar
changed the title
Updated gnd_pos_control and removed gnd_att_control
[WIP] Updated gnd_pos_control and removed gnd_att_control
Jun 26, 2019
Can you fix the CI failures? The new v5x config needs to be updated. |
AmeliaEScott
force-pushed
the
pr-rover-control
branch
from
July 9, 2019 07:20
a95b4e8
to
b896210
Compare
AmeliaEScott
force-pushed
the
pr-rover-control
branch
from
July 11, 2019 08:17
b896210
to
7aace93
Compare
@dagar The CI problems have been fixed, sorry about that! |
dagar
approved these changes
Jul 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Describe problem solved by the proposed pull request
The original implementation of ground rover control was based on fixed wing control, and so included unnecessary code for attitude control. This caused some problems with edge cases, such as loitering and return to launch for rovers.
Resolves #11956
Test data / coverage
This was tested both in SITL with
gazebo_rover
and on the Aion R1 rover.Describe your preferred solution
The L1 controller outputs a desired turn radius. With a fixed-wing craft, this is used to calculate a desired roll angle, and then an attitude controller is used to hold this roll angle. With a ground rover, the turn radius can be achieved directly by just knowing the geometry of the vehicle and outputting a constant turn control. Thus, all of the ground "attitude control" code can be removed.
Describe possible alternatives
The existing solution treated the ground rover like a fixed-wing craft, as mentioned before. This works overall, but there are edge cases that would need to be individually addressed. However, the solution in this pull request will provide a more stable foundation for further rover functionality.